package com.zhouyu.user;

import com.zhouyu.spring.Autowired;
import com.zhouyu.spring.BeanNameAware;
import com.zhouyu.spring.Component;

@Component
public class UserService implements BeanNameAware, UserInterFace {

	private String testValue;

	@Autowired
	private OrderService orderService;

	@Override
	public void setBeanName(String name) {
		System.out.println(name);
	}

	public void test() {
		System.out.println("test method runs");
	}

}
